/**
Defines the custom signal handler function.
*/
#include "globals.h"

/**
The signal handler to handle SIGCHLD signal from child on termination.

@param signo supplies the signal to be handled.
*/
void
sig_chld(int signo)
{
    pid_t pid;
    int stat;

    while ((pid = waitpid(-1, &stat, WNOHANG)) > 0)
    {
//        log_msg("Child terminated.");
    }

    return;
}

